<script>
import Login from './components/Login.vue'
export default{
  components:{Login},
  methods:{
    efg(){
      alert('nihao')
    }
  }
}
</script>

<template>
  <Login @abc='efg()' class="large" />
</template>

<style scoped>
.large{
  background-color: red;
}
</style>
